package com.njitzx.entity.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.njitzx.entity.po.Category;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(value = JsonInclude.Include.NON_EMPTY)
public class CategoryVO {

    private Integer catId;
    private String catName;
    private Integer catPid;
    private Integer catLevel;
    private List<CategoryVO> children;
}
